#ifndef RANDOMTOOL_H
#define RANDOMTOOL_H

class RandomTool
{
public:
    // Reset seed by current system time
    static void resetSeed();

    // Get a random integer
    static int getRandomInt();
    // Get a random integer in a given range
    static int getRandomIntFrom(int, int);
    // Get a random integer and check if it is below a given threshold
    static bool isRatio(int);
};

#endif // RANDOMTOOL_H
